package controllers

import (
	"github.com/astaxie/beego"
)

// 网站首页的路由信息
func (c *Root) Index() {
	c.Data["default"] = map[string]string{
		"title":     beego.AppConfig.String("Webconfig::default_title"),
		"copyright": beego.AppConfig.String("Webconfig::default_copyright"),
		"icp":       beego.AppConfig.String("Webconfig::default_icp"),
		"icon_data": beego.AppConfig.String("Webconfig::icon_data"),
	}
	c.TplName = "index.html"
}
